package com.lc.qianrenshiye.activity;

import android.os.Bundle;
import android.util.Log;
import android.webkit.WebView;

import com.lc.qianrenshiye.BaseActivity;
import com.lc.qianrenshiye.R;
import com.zcx.helper.bound.BoundView;

/**
 * Created by Administrator on 2016/11/29.
 */
public class MWebActivity extends BaseActivity {

    @BoundView(R.id.web_wv) private WebView web_wv;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_web);

        setBackTrue();

        Bundle bundle = getIntent().getExtras();

        String url = bundle.getString("url", "");
        String title = bundle.getString("title", "");

        Log.e("url", url);
        Log.e("title", title);

        setTitleName(title);


        web_wv.loadUrl(url);

    }
}
